@import "./sass/_variable.scss";
#feedback-list {
  position: relative;
  width:100%;
  height: 100%;
  ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 50rem / $baseFontSize;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  li {
    background-color: #fff;
    margin-bottom: 0;
    &:last-of-type {
      .feedback-item-head {
        &:after {
          display: none;
        }
      }
    }
  }
  li.current{
    margin-bottom: $emptyWidth;
    .feedback-item-head {
      background-image: url("../images/sj_up.png");
    }
    .feedback-item-content{
      visibility: visible;
      opacity: 1;
      height: auto;
    }
  }
  .feedback-item-head {
    position: relative;
    height: 55rem / $baseFontSize;
    line-height:55rem / $baseFontSize;
    font-size: 16rem / $baseFontSize;
    color:#333;
    overflow: hidden;
    background-image: url("../images/sj_down.png");
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 15rem / $baseFontSize 9rem / $baseFontSize;
    &:after {
      @include scaleBottom;
    }
    time {
      margin-left: 20rem / $baseFontSize;
      float: left;
    }
    span {
      float: right;
      margin-right: 38rem / $baseFontSize;
      color: #00a54f;
    }
  }
  .feedback-item-content {
    visibility: hidden;
    opacity: 0;
    height: 0;
    transition: all 0.2s ease-out;
    padding: 1px 20rem / $baseFontSize;
    line-height: 1;
    box-sizing: border-box;
    h3 {
      font-weight: normal;
      font-size: 15rem / $baseFontSize;
      color: #333;
      margin: 15rem / $baseFontSize auto 10rem / $baseFontSize;
    }
  }
  .feedback-img-box {
    font-size: 0;
    margin-bottom: 10rem / $baseFontSize;
    img {
      width: 80rem / $baseFontSize;
      height: 80rem / $baseFontSize;
      margin-right: 5rem / $baseFontSize;
      margin-bottom: 5rem / $baseFontSize;
    }
  }
  .feedback-txt {
    position: relative;
    background-color: #f0f5ef;
    min-height: 72rem / $baseFontSize;
    padding:10rem / $baseFontSize 15rem / $baseFontSize;
    margin-bottom: 15rem / $baseFontSize;
    box-sizing: border-box;
    color: #666;
    font-size: 14rem / $baseFontSize;
    line-height: 1.4;
    &:before {
      content: '';
      position: absolute;
      left: 20rem / $baseFontSize;
      bottom: 100%;
      width: 0;
      height: 0;
      border: 5rem / $baseFontSize solid;
      border-color: transparent transparent #f0f5ef transparent;
    }
  }
  .btn-addOpinion {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 50rem / $baseFontSize;
    line-height: 50rem / $baseFontSize;
    font-size: 16rem / $baseFontSize;
    color: #009e4c;
    background-color: #fff;
    text-align: center;
    span {
      font-size: 24rem / $baseFontSize;
      margin-right: 5rem / $baseFontSize;
      vertical-align: -2px;
    }
  }
}
